package db;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.modeliosoft.modelio.javadesigner.annotations.objid;

public class PersonTransferObject {
    protected String nachname;

    protected String vorname;

    protected Date geburtsdatum;

    protected char geschlecht;
    
    private int id;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

    public String getNachname() {
        // Automatically generated method. Please delete this comment before entering specific code.
        return this.nachname;
    }

    public String getVorname() {
        // Automatically generated method. Please delete this comment before entering specific code.
        return this.vorname;
    }

	public String toString() {
		return "PersonTransferObject nachname=" + nachname + ", vorname="
				+ vorname + ", geburtsdatum=" + geburtsdatum + ", geschlecht="
				+ geschlecht + ", id=" + id + "";
	}

	public Date getGeburtsdatum() {
        // Automatically generated method. Please delete this comment before entering specific code.
        return this.geburtsdatum;
    }

    public char getGeschlecht() {
        // Automatically generated method. Please delete this comment before entering specific code.
        return this.geschlecht;
    }

    public void setNachname(final String value) {
        // Automatically generated method. Please delete this comment before entering specific code.
        this.nachname = value;
    }

    public void setVorname(final String value) {
        // Automatically generated method. Please delete this comment before entering specific code.
        this.vorname = value;
    }

    public void setGeburtsdatum(final Date value) {
        // Automatically generated method. Please delete this comment before entering specific code.
        this.geburtsdatum = value;
    }

    public void setGeschlecht(final char value) {
        // Automatically generated method. Please delete this comment before entering specific code.
        this.geschlecht = value;
    }

    protected PersonTransferObject(final String nachname, final String vorname, final Date geburtsdatum, final char geschlecht) {
        super();
        this.nachname = nachname;
        this.vorname = vorname;
        this.geburtsdatum = geburtsdatum;
        this.geschlecht = geschlecht;
    }

}
